#ifndef MYDIALOG_H
#define MYDIALOG_H

#include <QDialog>
#include "navigationmw.h"
//#include <QMediaPlayer>
//#include <QVideoWidget>

namespace Ui {
class MyDialog;
}

class MyDialog : public QDialog
{
    Q_OBJECT

public:
    explicit MyDialog(const QString &content,const QString &picpath,int id,QWidget *parent = nullptr);
    ~MyDialog();
    int getId() const;  // 添加一个方法来获取ID
private slots:
    void on_btn_close_clicked();

    void on_btn_pic_clicked();


    void on_btn_nagivation_clicked();

private:
    Ui::MyDialog *ui;
    int m_id;
//    QMediaPlayer *mediaPlayer;
//    QVideoWidget *videoWidget;
};

#endif // MYDIALOG_H
